package com.whmskj.xjlhsc.mobie.empProPlan.service;

import com.alibaba.fastjson.JSONObject;
import com.whmskj.xjlhsc.jitapi.dto.Emp;
import com.whmskj.xjlhsc.mobie.empProPlan.controller.fo.StandConfirmation;
import com.whmskj.xjlhsc.mobie.empProPlan.dto.ScanDeviceDto;
import com.whmskj.xjlhsc.mobie.empProPlan.dto.ScanDeviceSignDto;

import java.util.Collection;
import java.util.List;
import java.util.Map;

public interface ScanScheduleShiftsService {

    /**
     * 员工扫描机台获取签到的机台
     *
     * @param deviceId
     * @return
     */
    ScanDeviceSignDto getScanToDeviceList(Integer deviceId);

    /**
     * 员工提交签到
     *
     * @param scanDeviceSignDto
     * @return
     */
    Boolean submitSign(ScanDeviceSignDto scanDeviceSignDto);

    /**
     * 班组长查看看台确认列表
     *
     * @param fo
     * @return
     */
    Map<String,Object> getStandConfirmationList(StandConfirmation fo);

    /**
     * 组长拒绝签到
     *
     * @param id
     * @return
     */
    Boolean reject(Long id);

    /**
     * 组长确认签到
     * @param confirmIds
     * @return
     */
    Boolean confirm(List<Long> confirmIds);

    List<Map<String,Object>> getChackInHistory();
}
